﻿@model EagleProject.Models.FormPartnerModel

@{
    ViewBag.Title = "Create Partner";
}

@using (Html.BeginForm("CreatePartner", "Admin", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Create Consultant Form</legend>
        <ol>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Name)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.Name)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Name)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.UserName)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.UserName)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.UserName)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Location)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.Location)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Location)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.ContactEmail)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.ContactEmail)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.ContactEmail)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.ContactNumber1)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.ContactNumber1)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.ContactNumber1)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.ContactNumber2)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.ContactNumber2)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.ContactNumber2)</div>
                <div class="clear"></div>
            </li>
        </ol>
    </fieldset>
    <input type="submit" name="Submit" id="Submit" value="Submit" class="btn" />
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}